const urlconst = require("./api/urlconst");

module.exports = {
  /**
   * @type {boolean} true | false
   * @description 应用是否为正式版
   */
  isRelease: true,

  /**
   * @type {string}
   * @description 项目标签
   */
  appTitle: "GRT", // '成都格瑞特APS系统',

  /**
   * @type {boolean} true | false
   * @description Whether fix the header
   * @description 是否固定页眉
   */
  fixedHeader: false,

  /**
   * @type {boolean} true | false
   * @description Whether show the logo in sidebar
   * @description 是否显示Logo图标
   */
  sidebarLogo: true,

  /**
   * @type {boolean} true | false
   * @description 是否水平折叠收起菜单
   */
  collapseMenu: false,

  /**
   * @type {boolean} true | false
   * @description Whether show the opened unique
   * @description 是否只保持一个子菜单的展开
   */
  openedUnique: true,

  /**
   * @type {string}
   * @description 授权ID
   */
  clientID: "admin",

  /**
   * @type {string}
   * @description 授权秘钥
   */
  clientSecret: "admin_secret",

  /**
   * @type {string}
   * @description 授予类型
   */
  grant_type: "password",

  /**
   * @type {Array<String>}
   * @description 获取Token相关URL
   */
  tokenUrls: [
    urlconst.default.buildtoken_url,
    urlconst.default.refreshtoken_url,
  ],
};
